package com.lnking.lnkingplace.model.dto.isolation.worker;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lnking.starter.export.annotation.TableColumn;
import com.lnking.starter.export.annotation.TableInfo;
import lombok.Data;

import java.time.LocalDate;

@Data
@TableInfo(tableName = "专班人员")
public class WorkerExcelDto {
    @TableColumn(columnName =  "隔离场所名称")
    private String placeName;

    @TableColumn(columnName =  "集中隔离区/行政保障区",column = "1")
    private String camp;

    @TableColumn(columnName =  "所属单位",column = "2")
    private String department;

    @TableColumn(columnName =  "单位及职务",column = "3")
    private String position;

    @TableColumn(columnName =  "姓名",column = "4")
    private String workerName;

    @TableColumn(columnName =  "手机号",column = "5")
    private String workerPhone;

    @TableColumn(columnName =  "性别",column = "6")
    private String sex;

    @TableColumn(columnName =  "身份证号",column = "7")
    private String idCard;

    @TableColumn(columnName =  "3针接种",column = "8")
    private String inoculateThree;

    @TableColumn(columnName =  "进入时间",column = "9")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate startDate;

    @TableColumn(columnName =  "离开时间",column = "10")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate endDate;
}
